import { getDetList } from '@/api/api'
export default {
  name: 'physicaldetails',
  components: {}, 
  props: [],
  data () {
    return {
      mylist: [],
    }
  }, created() {
    this._getProList();
  },
  computed: {

  },
  mounted () {

  },
  methods: {
    _getProList() {
      getDetList({}).then(res => {
        this.mylist = res.data;
        console.log(111111111111, res.data)
      })
    },
    objectSpanMethod({ row, column, rowIndex, columnIndex }) {
      if (columnIndex === 0) {
        if (rowIndex % 5 === 0) {
          return {
            rowspan: 5,
            colspan: 1
          };
        } else {
          return {
            rowspan: 0,
            colspan: 0
          };
        }
      }
    }
  }
}
